.class public Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# static fields
.field private static final q:Ljava/lang/String;


# instance fields
.field private A:Landroid/widget/LinearLayout;

.field private B:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

.field private C:Ljava/util/ArrayList;

.field private D:Lcom/waiqin365/lightapp/visit/draglistview/a;

.field private E:Lcom/waiqin365/lightapp/visit/b/f;

.field private F:Landroid/widget/LinearLayout;

.field private G:Z

.field private H:Ljava/lang/String;

.field private I:Landroid/widget/ImageView;

.field private J:Landroid/widget/LinearLayout;

.field private K:Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;

.field private L:Lcom/waiqin365/lightapp/visit/draglistview/m;

.field private M:Lcom/waiqin365/lightapp/visit/draglistview/r;

.field private N:Z

.field private O:Lcom/waiqin365/lightapp/view/hr;

.field private P:Lcom/waiqin365/lightapp/view/hr;

.field private a:Landroid/content/Context;

.field private b:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

.field private c:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

.field private d:Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;

.field private e:Lcom/waiqin365/lightapp/view/CustomerSelectView;

.field private f:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

.field private g:Landroid/widget/ImageView;

.field private h:Landroid/widget/TextView;

.field private i:Landroid/widget/TextView;

.field private j:Lcom/waiqin365/lightapp/visit/da;

.field private k:Ljava/lang/String;

.field private l:Lcom/waiqin365/lightapp/visit/b/bd;

.field private m:Ljava/util/HashMap;

.field private n:Z

.field private o:Lcom/waiqin365/lightapp/view/bf;

.field private p:Lcom/waiqin365/lightapp/view/er;

.field private r:Ljava/lang/String;

.field private s:Z

.field private t:Ljava/lang/String;

.field private u:Ljava/lang/String;

.field private v:Ljava/lang/String;

.field private w:Landroid/view/View;

.field private x:Landroid/widget/LinearLayout;

.field private y:Landroid/widget/Button;

.field private z:Landroid/widget/LinearLayout;


# direct methods
.method static constructor <clinit>()V
    .locals 2

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v0

    const v1, 0x7f080072

    invoke-virtual {v0, v1}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getString(I)Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->q:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->n:Z

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->r:Ljava/lang/String;

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->s:Z

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->t:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->u:Ljava/lang/String;

    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/UUID;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->v:Ljava/lang/String;

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->G:Z

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->H:Ljava/lang/String;

    new-instance v0, Lcom/waiqin365/lightapp/visit/cv;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/visit/cv;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->L:Lcom/waiqin365/lightapp/visit/draglistview/m;

    new-instance v0, Lcom/waiqin365/lightapp/visit/cw;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/visit/cw;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->M:Lcom/waiqin365/lightapp/visit/draglistview/r;

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->N:Z

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->K:Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->r:Ljava/lang/String;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;Ljava/util/HashMap;)Ljava/util/HashMap;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->m:Ljava/util/HashMap;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;Landroid/content/Intent;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->back(Landroid/content/Intent;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->a(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method private a(Lcom/waiqin365/lightapp/visit/b/bd;)V
    .locals 4

    if-nez p1, :cond_0

    :goto_0
    return-void

    :cond_0
    const v0, 0x7f08021c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v2, "visitData.id"

    iget-object v3, p1, Lcom/waiqin365/lightapp/visit/b/bd;->a:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v2, "visitData.visitDate"

    iget-object v3, p1, Lcom/waiqin365/lightapp/visit/b/bd;->j:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v2, "visitData.visitor"

    iget-object v3, p1, Lcom/waiqin365/lightapp/visit/b/bd;->g:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v2, "visitData.customers"

    iget-object v3, p1, Lcom/waiqin365/lightapp/visit/b/bd;->k:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v2, "visitData.planContent"

    iget-object v3, p1, Lcom/waiqin365/lightapp/visit/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v2, "visitData.token"

    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->v:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v2, "visitData.flowType"

    const-string/jumbo v3, "1"

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-boolean v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->N:Z

    if-eqz v2, :cond_1

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->K:Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;

    const-string/jumbo v3, "yyyy-MM-dd HH:mm:ss"

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, "visitData.remindTime"

    invoke-virtual {v1, v3, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_1
    new-instance v2, Lcom/waiqin365/lightapp/visit/a/a/w;

    invoke-direct {v2, v0, v1}, Lcom/waiqin365/lightapp/visit/a/a/w;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/lightapp/visit/a/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->j:Lcom/waiqin365/lightapp/visit/da;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/visit/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/visit/a/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/a/b;->start()V

    goto :goto_0
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;)V
    .locals 3

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/lightapp/visit/a/a/g;

    invoke-direct {v1, v0, p1, p2}, Lcom/waiqin365/lightapp/visit/a/a/g;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/lightapp/visit/a/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->j:Lcom/waiqin365/lightapp/visit/da;

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightapp/visit/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/visit/a/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/a/b;->start()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->n:Z

    return p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->b:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    return-object v0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->k:Ljava/lang/String;

    return-object p1
.end method

.method private back(Landroid/content/Intent;)V
    .locals 2

    const/4 v0, 0x0

    invoke-virtual {p0, v0, p1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->setResult(ILandroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->finish()V

    const v0, 0x7f040020

    const v1, 0x7f040023

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->overridePendingTransition(II)V

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->a:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->t:Ljava/lang/String;

    return-object p1
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Lcom/waiqin365/lightapp/visit/da;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->j:Lcom/waiqin365/lightapp/visit/da;

    return-object v0
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->i()V

    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->d:Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;

    return-object v0
.end method

.method static synthetic f()Ljava/lang/String;
    .locals 1

    sget-object v0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->q:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    return-object v0
.end method

.method private g()V
    .locals 9

    const v6, 0x7f080742

    const v3, 0x7f0804e1

    const/4 v8, 0x1

    const/16 v5, 0x8

    const/4 v4, 0x0

    const v0, 0x7f0c0c4f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->g:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->g:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0c51

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->h:Landroid/widget/TextView;

    const v0, 0x7f0c0c52

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->i:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->i:Landroid/widget/TextView;

    const v1, 0x7f08078d

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->i:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->i:Landroid/widget/TextView;

    const-string/jumbo v1, "#333333"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    const v0, 0x7f0c01cb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->B:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getLayoutInflater()Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f030288

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->w:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->w:Landroid/view/View;

    const v1, 0x7f0c0c6c

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->I:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->w:Landroid/view/View;

    const v1, 0x7f0c0c6d

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->J:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->w:Landroid/view/View;

    const v1, 0x7f0c0c6e

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->K:Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->K:Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;->setType(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->K:Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;

    const v1, 0x7f0804ea

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->K:Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;->setBottomLineStatus(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->I:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->K:Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;

    new-instance v1, Lcom/waiqin365/lightapp/visit/co;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/co;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;->setOnDateTimePickerBtnOnClickListener(Lcom/waiqin365/lightapp/view/ec;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->w:Landroid/view/View;

    const v1, 0x7f0c0ae4

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->x:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->w:Landroid/view/View;

    const v1, 0x7f0c0c74

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->y:Landroid/widget/Button;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->w:Landroid/view/View;

    const v1, 0x7f0c0c72

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->z:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->w:Landroid/view/View;

    const v1, 0x7f0c0c73

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->A:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->z:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->A:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->y:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->w:Landroid/view/View;

    const v1, 0x7f0c0c6f

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->F:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->w:Landroid/view/View;

    const v1, 0x7f0c0c69

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->b:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->b:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    const-string/jumbo v1, "1"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setMustinput(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->b:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    const v1, 0x7f0804ef

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->b:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setBottomLineStatus(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->w:Landroid/view/View;

    const v1, 0x7f0c0ae1

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    const-string/jumbo v1, "1"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setMustinput(Ljava/lang/String;)V

    sget-boolean v0, Lcom/fiberhome/gaea/client/c/b;->v:Z

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    sget-object v1, Lcom/waiqin365/base/db/offlinedata/q;->a:Lcom/waiqin365/base/db/offlinedata/q;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setAclType(Lcom/waiqin365/base/db/offlinedata/q;)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    const v1, 0x7f08085a

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    const v1, 0x7f080744

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setHint(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setBottomLineStatus(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->w:Landroid/view/View;

    const v1, 0x7f0c0ae3

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->d:Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->d:Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;

    const-string/jumbo v1, "1"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;->setMustinput(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->d:Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->d:Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;

    invoke-virtual {p0, v6}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;->setHint(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->w:Landroid/view/View;

    const v1, 0x7f0c0c6a

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/CustomerSelectView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->e:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->e:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    const-string/jumbo v1, "1"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->setMustinput(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->e:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->e:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {p0, v6}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->setHint(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->w:Landroid/view/View;

    const v1, 0x7f0c0215

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->f:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->f:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    const v1, 0x7f080650

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->f:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    const v1, 0x7f08032f

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setHint(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->f:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setBottomLineStatus(Z)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isModify"

    invoke-virtual {v0, v1, v4}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->s:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "reAdd"

    invoke-virtual {v0, v1, v4}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->G:Z

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->s:Z

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->e:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->d:Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;->setVisibility(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "info"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/bd;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->l:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->h:Landroid/widget/TextView;

    const v1, 0x7f08054f

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setEdit(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->d:Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;->setEdit(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->e:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->setEdit(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->l:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v2, v2, Lcom/waiqin365/lightapp/visit/b/bd;->g:Ljava/lang/String;

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/db/offlinedata/m;->i(Ljava/lang/String;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setEmpInfo(Lcom/waiqin365/lightapp/kehu/share/a/c;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->f:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->l:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->f:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setValue(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->l:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/bd;->O:Lcom/waiqin365/lightapp/kehu/b/am;

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->l:Lcom/waiqin365/lightapp/visit/b/bd;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/kehu/b/am;-><init>()V

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bd;->O:Lcom/waiqin365/lightapp/kehu/b/am;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->l:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/bd;->O:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->l:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/bd;->O:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->l:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->k:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->l:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/bd;->O:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->l:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->l:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->e:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->l:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->O:Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->setCmCustomerInfo(Lcom/waiqin365/lightapp/kehu/b/am;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->b:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-static {}, Lcom/waiqin365/lightapp/photo/d/a;->a()Lcom/waiqin365/lightapp/photo/d/a;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->l:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v2, v2, Lcom/waiqin365/lightapp/visit/b/bd;->j:Ljava/lang/String;

    const-string/jumbo v3, "yyyy-MM-dd"

    invoke-virtual {v1, v2, v3}, Lcom/waiqin365/lightapp/photo/d/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/util/HashMap;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setDate(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->b:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->b:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setClickAbled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->F:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->l:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/bd;->W:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_4

    iput-boolean v8, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->N:Z

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->I:Landroid/widget/ImageView;

    const v2, 0x7f02036e

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->J:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v4}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->K:Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;

    invoke-static {}, Lcom/waiqin365/lightapp/photo/d/a;->a()Lcom/waiqin365/lightapp/photo/d/a;

    move-result-object v2

    const-string/jumbo v3, "yyyy-MM-dd HH:mm:ss"

    invoke-virtual {v2, v0, v3}, Lcom/waiqin365/lightapp/photo/d/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/util/HashMap;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;->setDate(Ljava/lang/Object;)V

    :goto_1
    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->e()Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->d:Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;

    invoke-virtual {v0, v8}, Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;->b(Z)V

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->d:Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;

    new-instance v1, Lcom/waiqin365/lightapp/visit/cr;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/cr;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;->setOnSizeChange(Lcom/waiqin365/lightapp/view/bt;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    new-instance v1, Lcom/waiqin365/lightapp/visit/ct;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/ct;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setOnEmployeeSelectListener(Lcom/waiqin365/lightapp/view/eq;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->b:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    new-instance v1, Lcom/waiqin365/lightapp/visit/cu;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/cu;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setOnDateChangedListener(Lcom/waiqin365/lightapp/view/be;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->i()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->b:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->f()Ljava/util/HashMap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->m:Ljava/util/HashMap;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->B:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->w:Landroid/view/View;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->addHeaderView(Landroid/view/View;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->b()V

    return-void

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    sget-object v1, Lcom/waiqin365/base/db/offlinedata/q;->b:Lcom/waiqin365/base/db/offlinedata/q;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setAclType(Lcom/waiqin365/base/db/offlinedata/q;)V

    goto/16 :goto_0

    :cond_4
    iput-boolean v4, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->N:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->I:Landroid/widget/ImageView;

    const v1, 0x7f02036d

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->J:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_1

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->e:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->setVisibility(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "userId"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_9

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    move-object v1, v0

    :goto_2
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "date"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->G:Z

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->e:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->e:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->setEdit(Z)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "cm"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    if-nez v0, :cond_8

    const-string/jumbo v2, ""

    :goto_3
    iput-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->u:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->e:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v2, v0}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->setCmCustomerInfo(Lcom/waiqin365/lightapp/kehu/b/am;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setEdit(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->F:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->setVisibility(I)V

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->h:Landroid/widget/TextView;

    const v2, 0x7f08001a

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v2

    invoke-virtual {v2, v1}, Lcom/waiqin365/base/db/offlinedata/m;->i(Ljava/lang/String;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setEmpInfo(Lcom/waiqin365/lightapp/kehu/share/a/c;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->d:Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;->setQueryEmpId(Ljava/lang/String;)V

    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_7

    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string/jumbo v2, "yyyy-MM-dd"

    sget-object v4, Ljava/util/Locale;->CHINA:Ljava/util/Locale;

    invoke-direct {v0, v2, v4}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V

    :try_start_0
    invoke-virtual {v0, v3}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v2

    new-instance v4, Ljava/util/Date;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v6

    invoke-direct {v4, v6, v7}, Ljava/util/Date;-><init>(J)V

    invoke-virtual {v0, v4}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v4}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/util/Date;->before(Ljava/util/Date;)Z

    move-result v0

    if-nez v0, :cond_7

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->b:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-static {}, Lcom/waiqin365/lightapp/photo/d/a;->a()Lcom/waiqin365/lightapp/photo/d/a;

    move-result-object v2

    const-string/jumbo v4, "yyyy-MM-dd"

    invoke-virtual {v2, v3, v4}, Lcom/waiqin365/lightapp/photo/d/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/util/HashMap;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setDate(Ljava/lang/Object;)V
    :try_end_0
    .catch Ljava/text/ParseException; {:try_start_0 .. :try_end_0} :catch_0

    :cond_7
    :goto_4
    iput-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->t:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->b:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    const-string/jumbo v2, "yyyy-MM-dd"

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v1, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_1

    :cond_8
    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    goto :goto_3

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/text/ParseException;->printStackTrace()V

    goto :goto_4

    :cond_9
    move-object v1, v0

    goto/16 :goto_2
.end method

.method private h()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->B:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->a(Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;)Lcom/waiqin365/lightapp/visit/draglistview/a;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->D:Lcom/waiqin365/lightapp/visit/draglistview/a;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->B:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->D:Lcom/waiqin365/lightapp/visit/draglistview/a;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setFloatViewManager(Lcom/waiqin365/lightapp/visit/draglistview/n;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->B:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->D:Lcom/waiqin365/lightapp/visit/draglistview/a;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->B:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setDragEnabled(Z)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->a()Landroid/widget/ListView;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->B:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->B:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->L:Lcom/waiqin365/lightapp/visit/draglistview/m;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setDropListener(Lcom/waiqin365/lightapp/visit/draglistview/m;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->B:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->M:Lcom/waiqin365/lightapp/visit/draglistview/r;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setRemoveListener(Lcom/waiqin365/lightapp/visit/draglistview/r;)V

    new-instance v0, Lcom/waiqin365/lightapp/visit/b/f;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/visit/b/f;-><init>(Landroid/content/Context;Ljava/util/ArrayList;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->E:Lcom/waiqin365/lightapp/visit/b/f;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->B:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->E:Lcom/waiqin365/lightapp/visit/b/f;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setAdapter(Landroid/widget/ListAdapter;)V

    return-void
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->n:Z

    return v0
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    return-object v0
.end method

.method private i()V
    .locals 3

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->s:Z

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->b:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->r:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->o:Lcom/waiqin365/lightapp/view/bf;

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setOnPickDateClickDialog(Ljava/lang/String;Lcom/waiqin365/lightapp/view/bf;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->r:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->p:Lcom/waiqin365/lightapp/view/er;

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setOnSelectClickDialog(Ljava/lang/String;Lcom/waiqin365/lightapp/view/er;)V

    :cond_0
    return-void
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->t:Ljava/lang/String;

    return-object v0
.end method

.method private j()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/visit/cy;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/visit/cy;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->p:Lcom/waiqin365/lightapp/view/er;

    new-instance v0, Lcom/waiqin365/lightapp/visit/cz;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/visit/cz;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->o:Lcom/waiqin365/lightapp/view/bf;

    return-void
.end method

.method static synthetic k(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Ljava/util/HashMap;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->m:Ljava/util/HashMap;

    return-object v0
.end method

.method private k()V
    .locals 4

    const v3, 0x7f08065d

    const/4 v2, 0x0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->s:Z

    if-nez v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->b:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->f()Ljava/util/HashMap;

    move-result-object v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->b:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->c()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-static {p0, v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->e()Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->c()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-static {p0, v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0

    :cond_1
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "reAdd"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_3

    :cond_2
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->d:Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;->c()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0

    :cond_3
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "reAdd"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->e:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->e()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->e:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->e()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_5

    :cond_4
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->e:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->c()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_5
    new-instance v0, Lcom/waiqin365/lightapp/visit/b/bd;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/visit/b/bd;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->l:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->l:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->b:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    const-string/jumbo v3, "yyyy-MM-dd"

    invoke-virtual {v1, v3}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bd;->j:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->l:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->e()Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bd;->g:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "reAdd"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_7

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->l:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->e:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->e()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bd;->k:Ljava/lang/String;

    :cond_6
    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->l:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->f:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->d()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-interface {v1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bd;->f:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->l:Lcom/waiqin365/lightapp/visit/b/bd;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->a(Lcom/waiqin365/lightapp/visit/b/bd;)V

    goto/16 :goto_0

    :cond_7
    new-instance v3, Ljava/lang/StringBuffer;

    const-string/jumbo v0, ""

    invoke-direct {v3, v0}, Ljava/lang/StringBuffer;-><init>(Ljava/lang/String;)V

    move v1, v2

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_8

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-virtual {v3, v0}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    const-string/jumbo v0, ","

    invoke-virtual {v3, v0}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_2

    :cond_8
    invoke-virtual {v3}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_9

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    invoke-virtual {v0, v2, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    :cond_9
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->l:Lcom/waiqin365/lightapp/visit/b/bd;

    iput-object v0, v1, Lcom/waiqin365/lightapp/visit/b/bd;->k:Ljava/lang/String;

    goto :goto_1
.end method

.method static synthetic l(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Lcom/waiqin365/lightapp/visit/b/f;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->E:Lcom/waiqin365/lightapp/visit/b/f;

    return-object v0
.end method

.method static synthetic m(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->f:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    return-object v0
.end method

.method static synthetic n(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->k:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic o(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->G:Z

    return v0
.end method

.method static synthetic p(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->u:Ljava/lang/String;

    return-object v0
.end method


# virtual methods
.method public a()Landroid/widget/ListView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->B:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    return-object v0
.end method

.method public a(Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;)Lcom/waiqin365/lightapp/visit/draglistview/a;
    .locals 3

    const/4 v2, 0x1

    new-instance v0, Lcom/waiqin365/lightapp/visit/draglistview/a;

    invoke-direct {v0, p1}, Lcom/waiqin365/lightapp/visit/draglistview/a;-><init>(Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;)V

    const v1, 0x7f0c0c4c

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/a;->c(I)V

    const v1, 0x7f0c0c4e

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/a;->d(I)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/visit/draglistview/a;->b(Z)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/visit/draglistview/a;->a(Z)V

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/a;->a(I)V

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/a;->b(I)V

    return-object v0
.end method

.method public a(Ljava/util/ArrayList;)V
    .locals 5

    const/4 v2, 0x0

    move v3, v2

    :goto_0
    if-eqz p1, :cond_2

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v3, v0, :cond_2

    move v1, v2

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-virtual {p1, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/kehu/b/am;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x1

    :goto_2
    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    invoke-virtual {p1, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_0
    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto :goto_0

    :cond_1
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_1

    :cond_2
    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->H:Ljava/lang/String;

    :goto_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v2, v0, :cond_3

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->H:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->H:Ljava/lang/String;

    add-int/lit8 v2, v2, 0x1

    goto :goto_3

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->d:Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->H:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;->setSelectedIds(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->E:Lcom/waiqin365/lightapp/visit/b/f;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/f;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->E:Lcom/waiqin365/lightapp/visit/b/f;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/b/f;->notifyDataSetChanged()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->b()V

    return-void

    :cond_4
    move v0, v2

    goto :goto_2
.end method

.method public b()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->e()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->x:Landroid/widget/LinearLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_1

    sget-object v0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->q:Ljava/lang/String;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->r:Ljava/lang/String;

    :goto_1
    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->i()V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->x:Landroid/widget/LinearLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    new-instance v1, Lcom/waiqin365/lightapp/visit/cx;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/cx;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->r:Ljava/lang/String;

    goto :goto_1
.end method

.method public back()V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->back(Landroid/content/Intent;)V

    return-void
.end method

.method public c()V
    .locals 5

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_4

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_0
    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v3, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_0

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_1
    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_2

    const v0, 0x7f08057c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    :goto_1
    return-void

    :cond_2
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    invoke-virtual {v2, p0}, Lcom/waiqin365/base/login/mainview/a;->g(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, "1"

    invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_3

    const-string/jumbo v2, "tradeType"

    const-string/jumbo v3, "1"

    invoke-virtual {v0, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :goto_2
    new-instance v2, Landroid/content/Intent;

    const-class v3, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;

    invoke-direct {v2, p0, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v3, "select"

    invoke-virtual {v2, v3, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v3, "all"

    invoke-virtual {v2, v3, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v1, "isNear"

    invoke-virtual {v2, v1, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v1, "draw_line_between_points"

    const/4 v3, 0x1

    invoke-virtual {v2, v1, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v1, "title"

    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->b:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    const v4, 0x7f080222

    invoke-virtual {p0, v4}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v1, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "jsonHashMap"

    invoke-virtual {v2, v1, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->startActivity(Landroid/content/Intent;)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->overridePendingTransition(II)V

    goto :goto_1

    :cond_3
    const-string/jumbo v2, "tradeType"

    const-string/jumbo v3, "3"

    invoke-virtual {v0, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_2

    :cond_4
    const v0, 0x7f080009

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_1
.end method

.method public d()V
    .locals 4

    const-string/jumbo v0, "add_plan_type"

    const/4 v1, 0x1

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->s:Z

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->O:Lcom/waiqin365/lightapp/view/hr;

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->F:Landroid/widget/LinearLayout;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->F:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/view/hr;

    const v1, 0x7f0c0c71

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/view/hr;-><init>(Landroid/content/Context;Landroid/view/View;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->O:Lcom/waiqin365/lightapp/view/hr;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->O:Lcom/waiqin365/lightapp/view/hr;

    const v1, 0x7f08082d

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/hr;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->O:Lcom/waiqin365/lightapp/view/hr;

    new-instance v1, Lcom/waiqin365/lightapp/visit/cp;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/cp;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/hr;->a(Landroid/widget/PopupWindow$OnDismissListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->O:Lcom/waiqin365/lightapp/view/hr;

    sget-object v1, Lcom/waiqin365/lightapp/view/ht;->c:Lcom/waiqin365/lightapp/view/ht;

    sget-object v2, Lcom/waiqin365/lightapp/view/hu;->a:Lcom/waiqin365/lightapp/view/hu;

    const/16 v3, 0x7d

    invoke-virtual {v0, v1, v2, v3}, Lcom/waiqin365/lightapp/view/hr;->a(Lcom/waiqin365/lightapp/view/ht;Lcom/waiqin365/lightapp/view/hu;I)V

    :cond_0
    return-void
.end method

.method public e()V
    .locals 4

    const-string/jumbo v0, "modify_cm_sort"

    const/4 v1, 0x1

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->s:Z

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->P:Lcom/waiqin365/lightapp/view/hr;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/view/hr;

    const v1, 0x7f0c0c75

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/view/hr;-><init>(Landroid/content/Context;Landroid/view/View;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->P:Lcom/waiqin365/lightapp/view/hr;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->P:Lcom/waiqin365/lightapp/view/hr;

    const v1, 0x7f080022

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/hr;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->P:Lcom/waiqin365/lightapp/view/hr;

    new-instance v1, Lcom/waiqin365/lightapp/visit/cq;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/cq;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/hr;->a(Landroid/widget/PopupWindow$OnDismissListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->P:Lcom/waiqin365/lightapp/view/hr;

    sget-object v1, Lcom/waiqin365/lightapp/view/ht;->c:Lcom/waiqin365/lightapp/view/ht;

    sget-object v2, Lcom/waiqin365/lightapp/view/hu;->b:Lcom/waiqin365/lightapp/view/hu;

    const/16 v3, 0x7d

    invoke-virtual {v0, v1, v2, v3}, Lcom/waiqin365/lightapp/view/hr;->a(Lcom/waiqin365/lightapp/view/ht;Lcom/waiqin365/lightapp/view/hu;I)V

    :cond_0
    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 2

    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    packed-switch p1, :pswitch_data_0

    :cond_0
    :goto_0
    return-void

    :pswitch_0
    if-eqz p3, :cond_0

    const-string/jumbo v0, "cmList"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_1

    sget-object v1, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->q:Ljava/lang/String;

    iput-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->r:Ljava/lang/String;

    :goto_1
    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->i()V

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->a(Ljava/util/ArrayList;)V

    goto :goto_0

    :cond_1
    const/4 v1, 0x0

    iput-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->r:Ljava/lang/String;

    goto :goto_1

    nop

    :pswitch_data_0
    .packed-switch 0x12e
        :pswitch_0
    .end packed-switch
.end method

.method public onClick(Landroid/view/View;)V
    .locals 4

    const/4 v2, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->back()V

    goto :goto_0

    :sswitch_1
    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->k()V

    goto :goto_0

    :sswitch_2
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c()V

    goto :goto_0

    :sswitch_3
    const-string/jumbo v0, ""

    move v1, v2

    :goto_1
    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    if-eqz v3, :cond_0

    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v3

    if-ge v1, v3, :cond_0

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v3, ","

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    move-object v0, v3

    goto :goto_1

    :cond_0
    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v1

    invoke-virtual {v0, v2, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->d:Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;->setList(Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->d:Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/CustomerSelectMultViewForVisit;->f()V

    goto :goto_0

    :sswitch_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->e()Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->e()Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    if-eqz v0, :cond_2

    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->a:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/lightapp/visit/SeniorVisitSelectCMFromRouteActy;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "visitorId"

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->e()Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "enableIds"

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->k:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const/16 v1, 0x12e

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->startActivityForResult(Landroid/content/Intent;I)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->overridePendingTransition(II)V

    goto/16 :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->a:Landroid/content/Context;

    const v1, 0x7f080744

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :sswitch_5
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->N:Z

    if-eqz v0, :cond_3

    iput-boolean v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->N:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->J:Landroid/widget/LinearLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->I:Landroid/widget/ImageView;

    const v1, 0x7f02036d

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->K:Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;->n()V

    goto/16 :goto_0

    :cond_3
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->N:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->J:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->I:Landroid/widget/ImageView;

    const v1, 0x7f02036e

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto/16 :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c0c4f -> :sswitch_0
        0x7f0c0c52 -> :sswitch_1
        0x7f0c0c6c -> :sswitch_5
        0x7f0c0c72 -> :sswitch_4
        0x7f0c0c73 -> :sswitch_3
        0x7f0c0c74 -> :sswitch_2
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->j()V

    new-instance v0, Lcom/waiqin365/lightapp/visit/da;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/visit/da;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->j:Lcom/waiqin365/lightapp/visit/da;

    iput-object p0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->a:Landroid/content/Context;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->C:Ljava/util/ArrayList;

    const v0, 0x7f030289

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->setContentView(I)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->g()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->h()V

    return-void
.end method

.method public onWindowFocusChanged(Z)V
    .locals 0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onWindowFocusChanged(Z)V

    if-eqz p1, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->d()V

    :cond_0
    return-void
.end method
